home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "POSTSEND1"
-
- ' yes, global variables (naughty)
- Global GlobCmd
- Global GlobSound
- Global Db As Database
-
- ' THIS IS THE LOCATION OF THE MAIN NOTES AND USERS DATABASE - MODIFY IT FOR YOUR OWN USE
- Global Const PN_DATABASE = "\\archiveserv\archive\archive\database\numatic\postit\pnotes.mdb"
-
- ' This is the name of your network - it is the root node of the address.
- Global Const PN_NETWORK = "Numatic Network"
-
- ' This is the location of the sound files on your network
- Global Const PN_SOUNDFILES = "\\slave.1\clipart\sound files\"
-
-
- ' This is the name of the supervisor - change it whoever is your supervisor
-
- Global Const PN_SUPERVISOR = "MAT.G"
-
-
- ' NOTE :
-
- ' see notes for the following
- ' DOS Environment variables MUST be set up as follows :
-
- ' WINNAME - Must be set to the machine name ( i.e FRED.PC)
-
- ' USERNAME - The User's name (Full)
-
- ' wave sound player
- Declare Function sndPlaySound Lib "winmm" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
-
-
-
-
- Sub MAIN()
-
- ' we have a user name to find in the list (we are replying in this mode)
- If Command <> "" Then
-
- GlobCmd = Command
-
- End If
-
- ' display form
- Load postit
- postit.Show
-
- End Sub
-
-